package com.zking.service.impl.lj;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zking.dao.domain.Post;
import com.zking.dao.mapper.lj.PostMapperlj;
import com.zking.service.lj.PostServicelj;
@Service
public class PostServicelmpl implements PostServicelj{
	@Autowired
	PostMapperlj pml;

	@Override
	public List<Map<String, Object>> getPast(String job_audit) {
		List<Map<String, Object>> list = pml.getPast(job_audit);
		return list;
	}

	@Override
	public Post getPastone(Integer id) {
		Post post = pml.getPastone(id);
		return post;
	}

	@Override
	public int updatepost(Integer id, String job_audit) {
		int i = pml.updatepost(id, job_audit);
		return i;
	}

	@Override
	public List<Map<String, Object>> getPasts() {
		List<Map<String, Object>> list = pml.getPasts();
		return list;
	}


	
}
